<template>
    <div class="common-goBack" @click="goBack">
        <div class="back-btn">
            <i class="el-icon-arrow-left"></i>
            <span>返回</span>
        </div>
    </div>
</template>
<script>
export default {
    data(){
        return {}
    },
    methods:{
        goBack(){
            this.$emit('goBack')
        }
    }
}
</script>
<style lang="css" scoped>
.common-goBack {
  
  font-size: 18px;
  line-height: 50px;
  background-color: #fff;
  box-sizing: border-box;
  padding-left: 20px;
  border-bottom: 1px solid #d2d2d2;
}
.back-btn{
    width: 100px;
    cursor: pointer;
}
</style>